package com.fare.taluo.vo.core;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;

import com.dayatang.domain.ValueObject;

public class OccupRateEntityVO implements ValueObject{
	private Long id;

	//航班公司
	private String companyCode;
	private String companyName;
	
	//航线
	private String lineCode;
	private String lineName;
	
	//航班
	private String flightInfo;
	private String flightName;
	
	//航班时间
	private Date flightDay;
	
	//航班时间String
	private String flightDayS;
	
	//航班价格
	private Long price;
	
	//客座率
	private BigDecimal occupRate;
	
	//收益
	private BigDecimal income;
	
	//客座率
	private Double occupRate2;
	
	//收益
	private Double income2;
	
	private String formCity; //起飞城市三字码
	
	private String toCity;//到达城市三字码

	public String getFlightDayS() {
		return flightDayS;
	}

	public void setFlightDayS(String flightDayS) {
		this.flightDayS = flightDayS;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public Double getOccupRate2() {
		if(occupRate!=null){
			occupRate2=Double.valueOf(occupRate+"");
		}
		return occupRate2;
	}

	public void setOccupRate2(Double occupRate2) {
		this.occupRate2 = occupRate2;
	}

	public Double getIncome2() {
		if(income!=null){
			income2=Double.valueOf(income+"");
		}
		return income2;
	}

	public void setIncome2(Double income2) {
		this.income2 = income2;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getLineCode() {
		return lineCode;
	}

	public void setLineCode(String lineCode) {
		this.lineCode = lineCode;
	}

	public String getFlightInfo() {
		return flightInfo;
	}

	public void setFlightInfo(String flightInfo) {
		this.flightInfo = flightInfo;
	}

	public Date getFlightDay() {
		return flightDay;
	}

	public void setFlightDay(Date flightDay) {
		this.flightDay = flightDay;
	}

	public Long getPrice() {
		return price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}


	public BigDecimal getOccupRate() {
		return occupRate;
	}

	public void setOccupRate(BigDecimal occupRate) {
		this.occupRate = occupRate;
	}

	public BigDecimal getIncome() {
		return income;
	}

	public void setIncome(BigDecimal income) {
		this.income = income;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getFlightName() {
		return flightName;
	}

	public void setFlightName(String flightName) {
		this.flightName = flightName;
	}

	public String getFormCity() {
		return formCity;
	}

	public void setFormCity(String formCity) {
		this.formCity = formCity;
	}

	public String getToCity() {
		return toCity;
	}

	public void setToCity(String toCity) {
		this.toCity = toCity;
	}
	
}
